package com.fulu.game.bi.service.impl.auth.config;

import org.apache.shiro.subject.Subject;
import org.apache.shiro.subject.SubjectContext;
import org.apache.shiro.web.mgt.DefaultWebSecurityManager;

public class BiSecurityManager extends DefaultWebSecurityManager {

    public BiSecurityManager() {
        super();
        setSubjectFactory(new BiWebSubjectFactory());
    }
    @Override
    public Subject createSubject(SubjectContext subjectContext) {
        Subject subject = super.createSubject(subjectContext);
        return subject;
    }
}
